require(['backbone'], function(Backbone) {
  var Workspace = Backbone.Router.extend({
    routes: {
      '': 'help',
      'index/index': 'help',
      "index/simCardManage":            "search",
      "search/:query/p:page":"        search",
      "*error": 'showError'
    },

    help: function() {
      alert('help');
    },

    search: function(query) {
      alert('卡管理');
    },
    showError: function(error) {
      alert('error hash: ' + error);
    }
  })
  var w = new Workspace;
  var model = new Backbone.Model();
  var col = new Backbone.Collection();
  var view = new Backbone.View();
  Backbone.history.start();
})
